<?xml version="1.0" encoding="utf-8"?>
<Content type="xform" name="CartRegistration">
	<model>
		<instance>
			<tblDirectory>
				<nDirKey/>
				<cDirName/>
				<cDirPassword/>
				<cDirForiegnRef/>
				<cDirSchema>User</cDirSchema>
				<cDirXml>
					<User>
						<FirstName/>
						<MiddleName/>
						<LastName/>
						<Position/>
						<Email/>
						<Notes/>
					</User>
				</cDirXml>
				<nAuditId/>
				<nAuditKey/>
				<dPublishDate/>
				<dExpireDate/>
				<dInsertDate/>
				<nInsertDirId/>
				<dUpdateDate/>
				<nUpdateDirId/>
				<nStatus>1</nStatus>
				<cDescription/>
			</tblDirectory>
		</instance>
		<submission id="EditContent" action="" method="post" event="return form_check(this)"/>
		<bind id="cContentSchemaName" nodeset="tblDirectory/cContentSchemaName" required="true()" type="string"/>
		<bind id="cDirName" nodeset="tblDirectory/cDirName" required="true()" type="string"/>
		<bind id="cDirPassword" nodeset="tblDirectory/cDirPassword" required="true()" type="string"/>
		<bind id="cDirPassword2" nodeset="tblDirectory/cDirPassword" required="true()" type="string"/>
		<bind nodeset="tblDirectory/cDirXml/User">
			<bind id="cFirstName" nodeset="FirstName" required="true()" type="string"/>
			<bind id="cMiddleName" nodeset="MiddleName" required="false()" type="string"/>
			<bind id="cLastName" nodeset="LastName" required="true()" type="string"/>
			<bind id="cPosition" nodeset="Position" required="false()" type="string"/>
			<bind id="cEmail" nodeset="Email" required="true()" type="email"/>
			<bind id="cNotes" nodeset="Notes" required="false()" type="string"/>
		</bind>
		<bind nodeset="groups">
			<bind id="grpNews" nodeset="group[@name='GLOBAL Newsletter Subscriber' and @type='Group']/@isMember" required="false()" type="string"/>
		</bind>
	</model>
	<group ref="EditContent" class="1Col">
		
		<div class="form-intro">
      <p>Not a customer yet? Creating an account only takes a few moments.</p>
    </div>
		<input bind="nDirKey" class="hidden">
			<label>DirId</label>
		</input>
		<input bind="cDirSchema" class="hidden">
			<label>Schema</label>
			<value>User</value>
		</input>
		<group>
			<label>Your Details</label>
			<select1 bind="cPosition" class="short">
				<label>Title</label>
				<item>
					<label>Mr</label>
					<value>Mr</value>
				</item>
				<item>
					<label>Mrs</label>
					<value>Mrs</value>
				</item>
				<item>
					<label>Ms</label>
					<value>Ms</value>
				</item>
				<item>
					<label>Miss</label>
					<value>Miss</value>
				</item>
				<item>
					<label>Dr</label>
					<value>Dr</value>
				</item>
				<item>
					<label>Prof</label>
					<value>Prof</value>
				</item>
				<item>
					<label>Rev</label>
					<value>Rev</value>
				</item>
				<item>
					<label>Lord</label>
					<value>Lord</value>
				</item>
				<item>
					<label>Other</label>
					<value>Other</value>
				</item>
			</select1>
			
			<input bind="cFirstName" class="required">
				<label>First Name</label>
				<hint>Please enter your full first name and do not use initials or nicknames.</hint>
			</input>
			<input bind="cLastName" class="required">
				<label>Last Name</label>
				<hint>Sometimes referred to as your surname or family name.</hint>
			</input>
			<input bind="cEmail" class="required">
				<label>Email Address</label>
			</input>
		</group>
		<group>
			<label>Security Details</label>
			<input bind="cDirName" class="required">
				<label>Username</label>
			</input>
			<secret bind="cDirPassword" class="required">
				<label>Password</label>
			</secret>
			<secret bind="cDirPassword2" class="required">
				<label>Re-type Password</label>
			</secret>
		</group>
		<group>
			<label>Communication</label>
		<select bind="grpNews" appearance="full">
			<item>
				<label>Yes I would like to receive relevant special offers and other information.</label>
				<value>true</value>
			</item>
		</select>
		</group>
		<submit submission="" ref="ewRegSubmit" class="principle">
			<label>Create Customer Account</label>
		</submit>
	</group>
</Content>
